package com.shycloud.mido.homework.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.homework.api.entity.WeekDataMemberHomeworkType;
import com.shycloud.mido.homework.api.entity.WeekMain;
import com.shycloud.mido.homework.api.vo.WeekPayloadVO;
import com.shycloud.mido.member.api.entity.MemberActivateEntity;

/**
 * <p>
 * 周报数据表作业类型维度表 Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
public interface WeekDataMemberHomeworkTypeMapper extends BaseMapper<WeekDataMemberHomeworkType> {

	WeekDataMemberHomeworkType getDataMemberHomeworkType(@Param("param") WeekDataMemberHomeworkType weekDataMemberHomeworkType,
			@Param("week") WeekPayloadVO weekPayloadVO);

	Map<String, Object> getDataMemberHomeworkTypeCount(@Param("param") String studentId, @Param("week") WeekPayloadVO weekPayloadVO);

	Integer getDataMemberHomeworkTypeCount2(@Param("param") String studentId, @Param("week") WeekPayloadVO weekPayloadVO,
			@Param("playingMode") String playingMode);

	Integer getDataMemberHomeworkTypeCountDone2(@Param("param") String studentId, @Param("week") WeekPayloadVO weekPayloadVO);

	Integer getDataMemberHomeworkTypeCountDone(@Param("param") String studentId, @Param("week") WeekPayloadVO weekPayloadVO);

}
